import Vue from "vue";
import App from "./App.vue";
import { router } from "./router";
import { store } from "./store";
import vuetify from "./plugins/vuetify";
import "viewerjs/dist/viewer.css";
import VueViewer from "v-viewer";
import "./plugins/veeValidate";
import "./plugins/Swal";
// 表单校验规则
import "./common/helper/rules";
Vue.config.productionTip = false;
Vue.use(VueViewer);
new Vue({
  router,
  store,
  vuetify,
  render: (h) => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this;
  },
}).$mount("#app");
